/*
 * @Descripttion:
 * @version: 1.0
 * @Author: xin
 * @Date: 2021-09-18 09:45:28
 * @LastEditors: serve
 * @LastEditTime: 2021-09-18 10:14:02
 */
var pu = require('../tool/public')
// var temp_db = require('../db/temp')
var map = require('../tool/map')

class map_address{
    /*获取地址*/
    async get_map_address (req, res, next) {
        let data = await map.getaddress(req)
        pu.success('OK', JSON.parse(data), res)
    }
}

module.exports = new map_address()
